﻿using System;
using System.Data;
using System.Configuration;

using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

using System.Collections.Generic;
using System.Collections;

/// <summary>
/// Descripción breve de rUser
/// </summary>
public class rUser
{
    int respuestaid;
    string  usuarioid;
    string nombre;
    string apellido;
    string alias;
    string perfilid;
    string group;
    long permiso;
    string logo;
    string email;
    string where;
    string where2;
    string where3;
    long permisouser;
    long restricted;
    long _restrictedrol;
    string _pass;
    private string _compname="";
    private string _title;
    private int _estado;
    

    private ArrayList _direcciones = null;
    private ArrayList _companies = null;
    private ArrayList _accounts = null;
    private ArrayList _states = null;
    private ArrayList _counties = null;
    private ArrayList _prices = null;
    private ArrayList _perfiles = null;
    private ArrayList _permisos = null;

	public rUser()
	{
        respuestaid = 0;
        usuarioid = "";
        nombre = "";
        apellido = "";
        alias = "";
        perfilid = "";
        group = "";
        permiso = 0;
        email = "";
        _pass = "";
        _title = "";
        _estado = 0;
        _restrictedrol = 0;

	}
    public void setRespuestaId(int prespuesta) { respuestaid = prespuesta; }
    public int getRespuestaId() { return respuestaid; }

    public void setUsuarioId(string pusuarioid) { usuarioid = pusuarioid; }
    public string getUsuarioId() { return usuarioid; }


    public void setNombre(string pnombre) { nombre = pnombre; }
    public string getNombre() { return nombre; }

    public void setApellido(string papellido) { apellido = papellido; }
    public string getApellido() { return apellido; }

    public void setAlias(string palias) { alias = palias; }
    public string getAlias() { return alias; }

    public void setPerfilId(string pperfilid) { perfilid= pperfilid; }
    public string getPerfilId() { return perfilid; }

    public void setGroup(string pgroup) { group = pgroup; }
    public string getGroup() { return group; }

    public void setPermiso(long ppermiso) { permiso = ppermiso; }
    public long getPermiso() { return permiso; }

    public void setLogo(string plogo) { logo = plogo; }
    public string getLogo() { return logo; }

    public void setEmail(string pemail) { email = pemail; }
    public string getEmail() { return email; }

    public void setWhere(string pwhere) { where = pwhere; }
    public string getWhere() { return where; }

    public void setWhere2(string pwhere) { where2 = pwhere; }
    public string getWhere2() { return where2; }

    public void setWhere3(string pwhere) { where3 = pwhere; }
    public string getWhere3() { return where3; }

    public void setRestricted(long pwhere) { restricted = pwhere; }
    public long getRestricted() { return restricted; }

    public void setPermisoUser(long pperuser) { permisouser = pperuser; }
    public long getPermisoUser() { return permisouser; }

    public ArrayList direcciones
    {
        get { return _direcciones; }
        set { _direcciones = value; }
    }
    public ArrayList companies
    {
        get { return _companies; }
        set { _companies = value; }
    }
    public ArrayList accounts
    {
        get { return _accounts; }
        set { _accounts = value; }
    }
    public ArrayList states
    {
        get { return _states; }
        set { _states = value; }
    }
    public ArrayList counties
    {
        get { return _counties; }
        set { _counties = value; }
    }


    public ArrayList prices
    {
        get { return _prices; }
        set { _prices = value; }
    }

    public ArrayList perfiles
    {
        get { return _perfiles; }
        set { _perfiles = value; }
    }
    public ArrayList permisos
    {
        get { return _permisos; }
        set { _permisos = value; }
    }
    public string pass
    {
        get { return _pass; }
        set { _pass = value; }
    }
    public string compname
    {
        get { return _compname; }
        set { _compname = value; }
    }

    public int estado {
        get { return _estado; }
        set { _estado = value; }
    }
    public string title
    {
        get { return _title; }
        set { _title = value; }
    }
    public long restrictedrol
    {
        get { return _restrictedrol; }
        set { _restrictedrol = value; }
    }
}
